﻿using System;
namespace Maticsoft.Model
{
	/// <summary>
	/// documentFlowInfo:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class documentFlowInfo
	{
		public documentFlowInfo()
		{}
		#region Model
		private int _documentflowinfo_id;
		private string _documentflowinfo_name;
		private int? _document_id;
		private string _flow_ids;
		private int? _flow_id;
		private string _flow_name;
		private int? _flow_node_id_now;
		private int? _flow_node_num_now;
		private int? _status;
		private bool _isdone = false;
        private string _documentflowmapping_name;
        private bool _isFlowDone = false;

        /// <summary>
        /// 此流程是否完成
        /// </summary>
        public bool isFlowDone
        {
            get { return _isFlowDone; }
            set { _isFlowDone = value; }
        }


		/// <summary>
		/// 公文流程进度情况表
		/// </summary>
		public int documentFlowInfo_id
		{
			set{ _documentflowinfo_id=value;}
			get{return _documentflowinfo_id;}
		}
		/// <summary>
		/// 公文流程进度情况表名称
		/// </summary>
		public string documentFlowInfo_name
		{
			set{ _documentflowinfo_name=value;}
			get{return _documentflowinfo_name;}
		}
		/// <summary>
		/// 公文ID
		/// </summary>
		public int? document_id
		{
			set{ _document_id=value;}
			get{return _document_id;}
		}
		/// <summary>
		/// 公文所走所有流程id(格式:"|1|2")
		/// </summary>
		public string flow_ids
		{
			set{ _flow_ids=value;}
			get{return _flow_ids;}
		}
		/// <summary>
		/// 当前流程id
		/// </summary>
		public int? flow_id
		{
			set{ _flow_id=value;}
			get{return _flow_id;}
		}
		/// <summary>
		/// 流程名称
		/// </summary>
		public string flow_name
		{
			set{ _flow_name=value;}
			get{return _flow_name;}
		}
		/// <summary>
		/// 当前所在流程节点ID
		/// </summary>
		public int? flow_node_id_now
		{
			set{ _flow_node_id_now=value;}
			get{return _flow_node_id_now;}
		}
		/// <summary>
		/// 当前公文走到了流程节点的第几步
		/// </summary>
		public int? flow_node_num_now
		{
			set{ _flow_node_num_now=value;}
			get{return _flow_node_num_now;}
		}
		/// <summary>
		/// 审批状态(0、未审批，1、审批中，2、审批通过，3、审批未通过)
		/// </summary>
		public int? status
		{
			set{ _status=value;}
			get{return _status;}
		}
		/// <summary>
		/// 是否完结
		/// </summary>
		public bool isDone
		{
			set{ _isdone=value;}
			get{return _isdone;}
		}
        /// <summary>
        /// 流程图名称
        /// </summary>
        public string documentFlowMapping_name
        {
            set { _documentflowmapping_name = value; }
            get { return _documentflowmapping_name; }
        }
		#endregion Model

	}
}

